﻿using SqlSugar;

namespace SXICE.Core.Domains
{
    /// <summary>
    /// 菜单表
    /// </summary>
    public class Menu : BaseDomain
    {
        /// <summary>
        /// 菜单名称
        /// </summary>
        [SugarColumn(Length = 50)]
        public string Name { set; get; }

        /// <summary>
        /// 菜单编码
        /// </summary>
        [SugarColumn(Length = 50)]
        public string Code { set; get; }

        /// <summary>
        /// 是否显示
        /// </summary>
        public bool Display { set; get; }

        /// <summary>
        /// 父Id
        /// </summary>
        public int ParentId { set; get; }

        /// <summary>
        /// 菜单顺序
        /// </summary>
        public int Order { set; get; }
    }
}
